package com.androidx.p013lv.mine.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import com.androidx.p013lv.base.C1010R;
import com.androidx.p013lv.mine.C1207R;
import java.util.Objects;

/* renamed from: com.androidx.lv.mine.dialog.DialogVipBuyFailure */
public class DialogVipBuyFailure extends Dialog {
    private View.OnClickListener onClickListener;

    public void setOnClickListener(View.OnClickListener onClickListener2) {
        this.onClickListener = onClickListener2;
    }

    public DialogVipBuyFailure(Context context) {
        super(context, C1010R.C1017style.MyDialogStyle);
        ((Window) Objects.requireNonNull(getWindow())).setGravity(17);
        setContentView(C1207R.C1212layout.dialog_buy_vip_failure);
        findViewById(C1207R.C1210id.dialog_btn_sure).setOnClickListener(this.onClickListener);
        findViewById(C1207R.C1210id.tv_back).setOnClickListener(new View.OnClickListener() {
            /* class com.androidx.p013lv.mine.dialog.DialogVipBuyFailure.View$OnClickListenerC12961 */

            public void onClick(View view) {
                DialogVipBuyFailure.this.dismiss();
            }
        });
    }
}
